package com.weic.manager.expert.mapper;

import com.weic.manager.vo.ExpertVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("expertVOMapper")
public interface ExpertVOMapper {

    List<ExpertVO> selectTop(Integer limitnum);

    List<ExpertVO> selectAll();

    int deleteByPrimaryKey(String pkExpert);

    int insert(ExpertVO record);

    int insertSelective(ExpertVO record);

    ExpertVO selectByPrimaryKey(String pkExpert);

    int updateByPrimaryKeySelective(ExpertVO record);

    int updateByPrimaryKeyWithBLOBs(ExpertVO record);

    int updateByPrimaryKey(ExpertVO record);
}